{% extends "base.html" %}
{% block title %}Ver Linea Base{% endblock %}
{% block body %}
  <h2>Ver Linea Base</h2>
  {% if error %}<div class=error><strong>Error:</strong> {{ error }}</div>{% endif %}
  <form action="" method=post>
     <table>
          <TR>
              <TD><button type=submit name="action" value=Salir>Regresar</button></TD>
          </TR>
      </table>
      <br>
      <table>
          <TR>
              <TD>Seleccionar</TD>
              <TD>Nombre</TD>
              <TD>Descripci&oacute;n</TD>
              <TD>Observaci&oacute;n</TD>
              <TD>Estado</TD>
              <TD>Versi&oacute;n</TD>
              <TD>Complejidad</TD>
              <TD>Costo</TD>
              <TD>Tipo</TD>
          </TR>
          {% for item in items %}
          <TR>
            <td><input type=checkbox name=seleccionados value={{item.id}}></td>
            <TD class="c1">{{item.nombre}}</TD>
            <TD class="c2">{{item.descripcion}}</TD>
            <TD class="c3">{{item.observacion}}</TD>
            <TD class="c4">{{item.estado}}</TD>
            <TD class="c5">{{item.version}}</TD>
            <TD class="c6">{{item.complejidad}}</TD>
            <TD class="c7">{{item.costo}}</TD>
            <TD class="c8">{{item.tipo_item}}</TD>
          </TR>
          {% endfor %}
      </table>
    </form>
{% endblock %}
